package com.css.fxfzcpxx.modules.hddcMap.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

/**
 * @author y1fan
 * @description  hddc图信息实体
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class DrawingEntity {

    private String id;

    private String number;  //编号 断层分布图：年月日+DCFB+五位流水号，地震构造图：年月日+DZGZ+五位流水号

    private String province;//省

    private String city;    //市

    private String county;  //区

    private String type;    //成果图类型

    private String mm;      //震级

    private String description; //描述

    private String keyWords; //关键词

    private String drawingUnit; //出图单位

    private String drawer;  //制图人

    private String title;  //图片标题

    private String earthquakeDate; //地震发震时刻

    private Date drawDate;    //制图时间

    private String attachUrl; //生成图片的URL（总路径）

    private String releaseStatus; //是否发布   0表示发布 1表示不发布

    private String delFlag;

    private String createUser;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    private String updateUser;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;



    private String releaseColumn; //发布栏目

    private String flag; //0表示本系统 1表示外来系统


    private MultipartFile file;


}
